#ifndef __SCREEN_H__
#define __SCREEN_H__

#include <stdio.h>
#include <OGLES/OGLESTools.h>

#ifndef PORTRAIT
#define SCREEN_WIDTH	320
#define SCREEN_HEIGHT	480
#else
#define SCREEN_WIDTH	480
#define SCREEN_HEIGHT	320
#endif
#define FPS				27

#ifdef OS_IPHONE
#define NativeDisplayType	void *
#define NativeWindowType	void *
#endif

typedef struct{
	float R;
	float G;
	float B;
	float A;
} colorRGBA;

bool InitOGLES(NativeDisplayType hDC,NativeWindowType m_hWnd);

void destroyOGLES();
void flushOGLES();

extern CPVRTglesExt m_Extensions;

#endif
